import request from "@/utils/request";

// 采购统计
export function procureStatistics(query) {
  return request({
    url: "/erp/statistics/ProcureStatistics",
    method: "get",
    params: query,
  });
}
// 销售统计
export function saleStatistics(query){
  return request({
    url: "/erp/statistics/SaleStatistics",
    method: "get",
    params: query,
  });
}
// 出库统计
export function outboundStatistics(query) {
  return request({
    url: "/erp/statistics/OutboundStatistics",
    method: "get",
    params: query,
  });
}

// 入库统计
export function warehousingStatistics(query) {
  return request({
    url: "/erp/statistics/WarehousingStatistics",
    method: "get",
    params: query,
  });
}


// 库存统计 - 仓库统计
export function wareStatistics(query) {
  return request({
    url: "/erp/statistics/WareStatistics",
    method: "get",
    params: query,
  });
}

// 库存统计 - 商品统计
export function stockStatistics(query) {
  return request({
    url: "/erp/statistics/StockStatistics",
    method: "get",
    params: query,
  });
}



// 库存统计 - 头部
export function stockHeadStatistics() {
  return request({
    url: "/erp/statistics/stockHeadStatistics",
    method: "get",
  });
}